package main.adapterPattern;

public class TreeElectricAdapter implements ThreeElectricOutlet{
    TwoElectricOutlet twoElectricOutlet;

    public TreeElectricAdapter(TwoElectricOutlet twoElectricOutlet) {
        this.twoElectricOutlet = twoElectricOutlet;
    }

    @Override
    public void connectElectricCurrnent() {
        twoElectricOutlet.connectElectricCurrent();
    }

}
